import Layout from '@/layout'

const financeRouter = [{
    path: '/finance',
    component: Layout,
    redirect: '/finance/library',
    alwaysShow: true, // will always show the root menu
    name: 'financeManage',
    meta: {
        title: '财务管理',
        roles: ['admin', 'editor'], // you can set roles in root nav
        icon: 'el-icon-arrow-right'
    },
    children:[
        {
            path: 'buyerBindCard',
            component: () => import('@/views/finance/buyerBindCard'),
            name: 'buyerBindCard',
            meta: { title: '买家绑卡管理' }
        },
        {
            path: 'sellerBindCard',
            component: () => import('@/views/finance/sellerBindCard'),
            name: 'sellerBindCard',
            meta: { title: '卖家绑卡管理' }
        },
    ]
}]
export default financeRouter